package design.patterns.mediator;

/**
 * desc     :
 * dateTime : 2020-06-14 17:45
 *
 * @author wwchen
 */
public class Colleague2 extends Colleague {
    /**
     * 接收一个调停着
     *
     * @param mediator
     */
    public Colleague2(Mediator mediator) {
        super(mediator);
    }

    @Override
    public void action() {
        System.out.println("This is an action from Colleague2");
    }
}
